package com.ruoyi.common.enums;

/**
 * 用户账户类型
 * 
 * @author yjf
 */
public enum UserType
{
    GENERAL("1", "普通用户"),
    CONSERVATOR("2", "管理员");


    private final String value;
    private final String name;

    UserType(String value, String name)
    {
        this.value = value;
        this.name = name;
    }

    public String getValue()
    {
        return value;
    }

    public String getName()
    {
        return name;
    }
}
